<%@ page language="java" isELIgnored="false"  contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>查询商品列表</title>
</head>
<body>
欢迎使用用户管理系统。。。
<h2>我是服务器：${pageContext.request.localPort}</h2>
<a href="${pageContext.request.contextPath}/resume/addShow">添加用户</a>
<hr />
<table>
    <tr>
        <td>编号</td>
        <td>用户名</td>
        <td>地址</td>
        <td>手机</td>
        <td>操作</td>
    </tr>

    <c:forEach items="${userList}" var="user">
        <tr>
            <td>${user.id }</td>
            <td>${user.name}</td>
            <td>${user.address }</td>
            <td>${user.phone }</td>
            <td><a href="${pageContext.request.contextPath}/resume/delete?id=${user.id }">删除</a> | <a href="${pageContext.request.contextPath}/resume/editShow?id=${user.id }">编辑</a></td>
        </tr>
    </c:forEach>

</table>


</body>

</html>